package com.exer2;

/**
 * @ClassName WeChatPayment
 * @Description TODO
 * @Author Kx
 * @Date 2025/4/16 19:33
 * @Version 1.0
 */
@Pay("weChatPayment")
public class WeChatPayment implements Payment {

    /***
     * @author: kx
     * @date: 2025/4/16 19:33
     * @param money : 金额
     * @description:  微信支付方式
    */
    @Override
    public void pay(double money) {
        System.out.println("Using WeChat to pay: " + money);
    }
}
